import request from '@/utils/request'

// 查询域名标签关联列表
export function listDomainlabel(query) {
  return request({
    url: '/system/domainlabel/list',
    method: 'get',
    params: query
  })
}

// 查询域名标签关联详细
export function getDomainlabel(id) {
  return request({
    url: '/system/domainlabel/' + id,
    method: 'get'
  })
}

// 新增域名标签关联
export function addDomainlabel(data) {
  return request({
    url: '/system/domainlabel',
    method: 'post',
    data: data
  })
}

// 修改域名标签关联
export function updateDomainlabel(data) {
  return request({
    url: '/system/domainlabel',
    method: 'put',
    data: data
  })
}

// 删除域名标签关联
export function delDomainlabel(id) {
  return request({
    url: '/system/domainlabel/' + id,
    method: 'delete'
  })
}
